
package printers;
import java.io.File;

import java.io.FileOutputStream;

import java.io.IOException;

import java.io.PrintWriter;

public class QuartetFilePrinter {
	
	private File output;

//	private FileWriter fw;

	
	public QuartetFilePrinter(int id, String phase) throws IOException{
		this.output= new File("src/strains/QuartetInfo"+phase+id+".txt");
	
//		this.fw= new FileWriter(this.output,true);
		
		
		
	}
	
	public void printToFile(String line) throws IOException{
		try{
			PrintWriter out = new PrintWriter(new FileOutputStream(this.output,true));
			out.println(line);
			out.close();
		}catch (IOException e){}
		
	}




	
	

}
